package com.medical.wechat.mapper;

import com.medical.wechat.model.WechatTemplate;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface WechatTemplateMapper {

	public void insertWechatTemplate(WechatTemplate wechatTemplate);
	
	public WechatTemplate selectById(String id);
	
	public List<WechatTemplate> selectByAccountId(String accountId);
	
	public void updateById(WechatTemplate wechatTemplate);
	
	public WechatTemplate selectByAccountIdAndName(String accountId, String name);

	public void deleteById(String id);
	
}
